<!--
/**
 * moOde audio player (C) 2014 Tim Curtis
 * http://moodeaudio.org
 *
 * This Program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3, or (at your option)
 * any later version.
 *
 * This Program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * 汉化：Androidnews
 */
-->
<div id="container">
<div class="container">
	<h1 class="snd-config">芯片选项</h1>

	<!-- Burr Brown PCM and TAS chips -->
    <form class="form-horizontal" action="" method="post">
		<div class="control-group $_burrbrown_hide">
			<legend>Burr Brown PCM/TAS系列
				<button class="legend-config btn btn-medium btn-primary btn-submit" type="submit" name="save" value="1">保存</button>
			</legend>
			<p class=sub-legend>这包括许多PCM5和TAS系列DAC和Amp芯片</p>

			<label class="control-label" for="digfilter">过采样滤波器</label>
			<div class="controls">
				<select id="digfilter" class="config-select-large" name="config[digfilter]">
					$_select[digfilter]
				</select>
				<span class="config-help-static">
                	滤波器应用于过采样阶段的PCM样本。
					播放会自动重新启动，以使过滤器更改生效。
					请注意，如果采样率为384 kHz，则会绕过滤波器。
                </span>
			</div>

			<label class="control-label" for="analoggain">模拟增益</label>
			<div class="controls">
				<select id="analoggain" class="config-select-large" name="config[analoggain]">
					$_select[analoggain]
				</select>
				<span class="config-help-static">
					模拟增益可以设置为0 dB（2-Vrms）或-6 dB（1-Vrms）。
                </span>
			</div>

			<label class="control-label" for="analogboost">模拟增益提升</label>
			<div class="controls">
				<select id="analogboost" class="config-select-large" name="config[analogboost]">
					$_select[analogboost]
				</select>
				<span class="config-help-static">
					模拟增益提升可以设置为0 dB（正常振幅）或.8 dB（10%提升振幅）。
               </span>
			</div>
		</div>

		<!-- Allo Piano 2.1 (Dual Burr Brown PCM5142 chips) -->
		<div class="control-group $_allo_piano_hide">
			<legend>Allo Piano 2.1 DAC
				<button class="legend-config btn btn-medium btn-primary btn-submit" type="submit" name="save" value="1">保存</button>
			</legend>
			<p class=sub-legend>这些选项适用于Piano 2.1板上的双Burr Brown PCM5142实现。</p>

			<label class="control-label" for="outputmode">输出模式</label>
			<div class="controls">
				<select id="outputmode" class="config-select-large" name="config[outputmode]">
					$_select[outputmode]
				</select>
				<span class="config-help-static">
					<b>Dual-Mono: </b>Main DAC outputs L ch and Sub DAC outputs R ch (L/mute mute/R).<br>
					<b>Dual-Stereo: </b>Both DAC's output L/R channels (L/R L/R).<br>
					<b>Stereo: </b>All freq to Main L/R AND Sub L/R<br>
					<b>Subwoofer: </b>2.1/2.2 (High freq to main L/R, Low freq to sub L / sub L/R)<br>
                </span>
			</div>

			<label class="control-label" for="lowpassfreq">交叉频率</label>
			<div class="controls">
				<select id="lowpass" class="config-select-large" name="config[lowpass]" $_allo_piano_submode_disabled>
					$_select[lowpass]
				</select>
				&nbsp;Hz
				<span class="config-help-static">
					频率范围为60-200赫兹。<br>
                </span>
			</div>

			<label class="control-label" for="subwvol">超低音扬声器音量</label>
			<div class="controls">
                <input class="config-imput-large" type="number" maxlength="3" min="0" max="100" id="subwvol" name="config[subwvol]" value="$subwvol" $_allo_piano_submode_disabled> %
				<span class="config-help-static">
					音量范围为0-100%。
                </span>
			</div>
		</div>

		<!-- Allo Katana DAC (ESS Sabre ES9038Q2M chip) -->
		<div class="control-group $_allo_katana_hide">
			<legend>Allo Katana DAC
				<button class="legend-config btn btn-medium btn-primary btn-submit" type="submit" name="save" value="1">保存</button>
			</legend>
			<p class=sub-legend>这些选项适用于Katana板上的ESS Sabre ES9038Q2M实现。</p>

			<label class="control-label" for="katana-osf">过采样滤波器</label>
			<div class="controls">
				<select id="katana-osf" class="config-select-large" name="config[katana_osf]">
					$_select[katana_osf]
				</select>
				<span class="config-help-static">
                	滤波器应用于过采样阶段的PCM样本。
					播放会自动重新启动，以使过滤器更改生效。
					默认设置为“变迹快速滚降”。
                </span>
			</div>

			<label class="control-label" for="katana-deemphasis">去加重</label>
			<div class="controls">
				<select id="katana-deemphasis" class="config-select-large" name="config[katana_deemphasis]">
					$_select[katana_deemphasis]
				</select>
				<span class="config-help-static">
					可以将去加重设置为旁路、32、44.1或48 kHz。默认为“旁路”。
                </span>
			</div>

			<label class="control-label" for="katana-dop">DSD over PCM</label>
			<div class="controls">
				<select id="katana-dop" class="config-select-large" name="config[katana_dop]">
					$_select[katana_dop]
				</select>
				<span class="config-help-static">
					通过PCM（DoP）协议打开/关闭对DSD的支持。默认值为“开”
               </span>
			</div>
		</div>

		<!-- Allo Boss 2 DAC (Cirrus Logic CS43198 chip) -->
		<div class="control-group $_allo_boss2_hide">
			<legend>Allo Boss 2 DAC
				<button class="legend-config btn btn-medium btn-primary btn-submit" type="submit" name="save" value="1">保存</button>
			</legend>
			<p class=sub-legend>这些选项适用于Boss 2板上的Cirrus Logic CS43198实现。</p>

			<label class="control-label" for="boss2-deemphasis-filter">滤波器</label>
			<div class="controls">
				<select id="boss2-deemphasis-filter" class="config-select-large" name="config[boss2_deemphasis_filter]">
					$_select[boss2_deemphasis_filter]
				</select>
				<span class="config-help-static">
					默认值为“关闭”。
                </span>
			</div>

			<label class="control-label" for="boss2-filter-speed">过滤器速度</label>
			<div class="controls">
				<select id="boss2-filter-speed" class="config-select-large" name="config[boss2_filter_speed]">
					$_select[boss2_filter_speed]
				</select>
				<span class="config-help-static">
					默认值为“快速”。
                </span>
			</div>

			<label class="control-label" for="boss2-highpass-filter">高通滤波器</label>
			<div class="controls">
				<select id="boss2-highpass-filter" class="config-select-large" name="config[boss2_highpass_filter]">
					$_select[boss2_highpass_filter]
				</select>
				<span class="config-help-static">
					默认值为“开”。
                </span>
			</div>

			<label class="control-label" for="boss2-nonosf-emulate">模拟NOS</label>
			<div class="controls">
				<select id="boss2-nonosf-emulate" class="config-select-large" name="config[boss2_nonosf_emulate]">
					$_select[boss2_nonosf_emulate]
				</select>
				<span class="config-help-static">
					模拟非过采样（NOS）。默认值为“关闭”。
                </span>
			</div>

			<label class="control-label" for="boss2-phase-compensation">相位补偿</label>
			<div class="controls">
				<select id="boss2-phase-compensation" class="config-select-large" name="config[boss2_phase_compensation]">
					$_select[boss2_phase_compensation]
				</select>
				<span class="config-help-static">
					默认值为“关闭”。
                </span>
			</div>

			<label class="control-label" for="boss2-hv-enable">HV启用</label>
			<div class="controls">
				<select id="boss2-hv-enable" class="config-select-large" name="config[boss2_hv_enable]">
					$_select[boss2_hv_enable]
				</select>
				<span class="config-help-static">
					模拟输出电压。默认值为“1.7 vrms”。
                </span>
			</div>

			<!-- NOTE: this volume is automatically sync'd with master volume in worker.php event loop
			<label class="control-label" for="boss2-dop-volume">DoP volume</label>
			<div class="controls">
				<input id="boss2-dop-volume" class="config-input-large" type="number" maxlength="3" min="0" max="100" id="subwvol" name="config[boss2_dop_volume]" value="$boss2_dop_volume"> %
				<span class="config-help-static">
					The volume range is 0 - 100%.
                </span>
			</div-->
		</div>

		<!-- Audiophonics (ESS Sabre ES9028/9038 pre and post 2019 boards) -->
		<div class="control-group $_audiophonics_q2m_hide">
			<legend>Audiophonics ES9028/9038 DAC
				<button class="legend-config btn btn-medium btn-primary btn-submit" type="submit" name="save" value="1">保存</button>
			</legend>
			<p class=sub-legend>这些选项适用于音频板上的ESS Sabre ES9028/9038实现。</p>

			<label class="control-label" for="audiophonics-q2m-osf">Oversampling filter</label>
			<div class="controls">
				<select id="audiophonics-q2m-osf" class="config-select-large" name="config[audiophonics_q2m_osf]">
					$_select[audiophonics_q2m_osf]
				</select>
				<span class="config-help-static">
                	滤波器应用于过采样阶段的PCM样本。
                	播放会自动重新启动，以使过滤器更改生效。
                	默认设置为“变迹快速滚降”。
                </span>
			</div>

			<!-- NOTE: This option is handled in the Source Select screen -->
			<label class="control-label" for="audiophonics-q2m-input">DAC输入</label>
			<div class="controls">
				<select id="audiophonics-q2m-input" class="config-select-large" name="config[audiophonics_q2m_input]">
					$_select[audiophonics_q2m_input]
				</select>
				<span class="config-help-static">
					默认值为“I2S”。
                </span>
			</div>
		</div>

		<!-- MERUS(tm) Amp piHAT ZW (MERUS MA12070P chip) -->
		<div class="control-group $_merus_ma12070p">
			<legend>MERUS(tm) Amp piHAT ZW
				<button class="legend-config btn btn-medium btn-primary btn-submit" type="submit" name="save" value="1">保存</button>
			</legend>
			<p class=sub-legend>这些选项适用于在MERUS Amp板上实施的MERUS MA12070P。</p>

			<label class="control-label" for="merus-ma12070p-pmp">电源模式配置文件</label>
			<div class="controls">
				<select id="merus-ma12070p-pmp" class="config-select-large" name="config[merus_ma12070p_pmp]">
					$_select[merus_ma12070p_pmp]
				</select>
				<span class="config-help-static">
                	MA12070P为操作内部放大器提供了不同的功率模式配置文件。它们为预期应用定义了放大器的最佳设置。功率模式配置文件的选择会影响各种参数，如开关频率、调制方案和环路增益，从而在音频性能、功率损耗和EMI等设计权衡中提供灵活性。
                </span>
			</div>
		</div>
	</form>
</div>
</div>
